package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * collection
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_collection")
public class Collection implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id; //id



    @ApiModelProperty("用户id")
    @TableField("user_id")
	private Long userId;//用户id

    @ApiModelProperty("门店id")
    @TableField("store_id")
	private Long storeId;//门店id



}
